package com.huixin.zhang.common.bean.code;

import com.alibaba.fastjson.JSONObject;

import java.util.List;


public class PageBean extends JSONObject {
	private static final long serialVersionUID = 1L;
	
	public PageBean(long count, List<?> contents) {
		this.put("count", count);
		this.put("contents", contents);
	}
	
	public static PageBean create(long count, List<?> contents) {
		return new PageBean(count, contents);
	}
}
